package com.ykc.bean;

import java.lang.reflect.Method;

/**
 * @author Ykc
 * @date 2021年05月25日 15:10
 * @description 封装Controller信息
 */
public class Handler {
    //Controllerlei
    private Class<?> controllerClass;
    //Controller方法
    private Method controllerMethod;

    public Handler(Class<?> controllerClass, Method controllerMethod) {
        this.controllerClass=controllerClass;
        this.controllerMethod=controllerMethod;
    }

    public Class<?> getControllerClass() {
        return controllerClass;
    }

    public Method getControllerMethod() {
        return controllerMethod;
    }
}
